home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20030409-20031118
/
000258_icurmtdude@yahoo.com_Fri Sep 5 11:49:33 EDT 2003.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
3KB
|
62 lines
Article: 14499 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!headwall.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: icurmtdude@yahoo.com (icurmt)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: missing bytes...
Date: 4 Sep 2003 15:59:46 -0700
Organization: http://groups.google.com/
Lines: 43
Message-ID: <cf6cc183.0309041459.f7f15d9@posting.google.com>
References: <cf6cc183.0309031713.73a00933@posting.google.com> <bj7hfa$1ho$1@sesame.cc.columbia.edu> <cf6cc183.0309040955.6efec36f@posting.google.com> <bj81d9$bai$1@sesame.cc.columbia.edu>
NNTP-Posting-Host: 24.97.119.28
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1062716388 17869 127.0.0.1 (4 Sep 2003 22:59:48 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 4 Sep 2003 22:59:48 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14499
It worked fine. I guess made some mistake in haste.
Thanks for all your help.
fdc@sesame.cc.columbia.edu (Frank da Cruz) wrote in message news:<bj81d9$bai$1@sesame.cc.columbia.edu>...
> In article <cf6cc183.0309040955.6efec36f@posting.google.com>,
> icurmt <icurmtdude@yahoo.com> wrote:
> : I tried it and it gave the same result as before. The NUL chars were
> : ignored.
> :
> How do you know it didn't work? What kind of connection is it? Where
> are the NUL characters coming from?
>
> When I do it here, it works:
>
> fopen /write \%c foo
> if fail stop
> while true {
> input 5
> if fail break
> fwrite /char \%c \v(inchar)
> }
> fclose \%c
>
> The "foo" file has NUL characters in it, just where they are supposed to
> be, none missing.
>
> : However, something I dont understand here is that session log
> : which is set as "set session-log binary" doesn't have the NUL
> : character in it as well. Well, not sure, but possibly cause it logs
> : the same (\v(input) buffer.
> :
> SET SESSION-LOG BINARY tells Kermit to record every incoming character,
> including NULs, and it does. The session log is separate from \v(input).
> Incoming characters go straight to a file, not to a C string, so NULs
> are not a problem. However, by default (i.e. when SESSION-LOG is set to
> TEXT), they are discarded, as are certain other control characters,
> depending on the text-file format of the computer where Kermit is running
> (so, for example, carriage returns are discarded by C-Kermit but not by
> K-95).
>
> - Frank